package com.alks.function.data.dto.pcCollectUser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class PcCollectUser2Dto {

    @ApiModelProperty("ID，自增主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private int id;

    @ApiModelProperty("公司ID")
    private String companyId;

    @ApiModelProperty("用户姓名")
    private String collectUserName;

    @ApiModelProperty("用户密码")
    private String collectUserPwd;

    @ApiModelProperty("收集类型")
    private String collectType;

    @ApiModelProperty("部门类型")
    private String deptType;

    @ApiModelProperty("创建用户")
    private String sysName;

    @ApiModelProperty("系统日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDateTime sysDate;

}
